home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMXULTreeElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  6KB  |  167 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMXULTreeElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMXULTreeElement_h__
  6. #define __gen_nsIDOMXULTreeElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMXULElement_h__
  10. #include "nsIDOMXULElement.h"
  11. #endif
  12.  
  13. #ifndef __gen_nsIDOMElement_h__
  14. #include "nsIDOMElement.h"
  15. #endif
  16.  
  17. /* For IDL files that don't want to include root IDL files. */
  18. #ifndef NS_NO_VTABLE
  19. #define NS_NO_VTABLE
  20. #endif
  21. class nsITreeColumns; /* forward declaration */
  22.  
  23. class nsITreeView; /* forward declaration */
  24.  
  25. class nsIDOMXULTextBoxElement; /* forward declaration */
  26.  
  27.  
  28. /* starting interface:    nsIDOMXULTreeElement */
  29. #define NS_IDOMXULTREEELEMENT_IID_STR "1f8111b2-d44d-4d11-845a-a70ae06b7d04"
  30.  
  31. #define NS_IDOMXULTREEELEMENT_IID \
  32.   {0x1f8111b2, 0xd44d, 0x4d11, \
  33.     { 0x84, 0x5a, 0xa7, 0x0a, 0xe0, 0x6b, 0x7d, 0x04 }}
  34.  
  35. /**
  36.  * @status UNDER_DEVELOPMENT
  37.  */
  38. class NS_NO_VTABLE nsIDOMXULTreeElement : public nsIDOMXULElement {
  39.  public: 
  40.  
  41.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMXULTREEELEMENT_IID)
  42.  
  43.   /* readonly attribute nsITreeColumns columns; */
  44.   NS_IMETHOD GetColumns(nsITreeColumns * *aColumns) = 0;
  45.  
  46.   /* attribute nsITreeView view; */
  47.   NS_IMETHOD GetView(nsITreeView * *aView) = 0;
  48.   NS_IMETHOD SetView(nsITreeView * aView) = 0;
  49.  
  50.   /* readonly attribute nsIDOMElement body; */
  51.   NS_IMETHOD GetBody(nsIDOMElement * *aBody) = 0;
  52.  
  53.   /* attribute boolean editable; */
  54.   NS_IMETHOD GetEditable(PRBool *aEditable) = 0;
  55.   NS_IMETHOD SetEditable(PRBool aEditable) = 0;
  56.  
  57.   /* readonly attribute nsIDOMXULTextBoxElement inputField; */
  58.   NS_IMETHOD GetInputField(nsIDOMXULTextBoxElement * *aInputField) = 0;
  59.  
  60. };
  61.  
  62. /* Use this macro when declaring classes that implement this interface. */
  63. #define NS_DECL_NSIDOMXULTREEELEMENT \
  64.   NS_IMETHOD GetColumns(nsITreeColumns * *aColumns); \
  65.   NS_IMETHOD GetView(nsITreeView * *aView); \
  66.   NS_IMETHOD SetView(nsITreeView * aView); \
  67.   NS_IMETHOD GetBody(nsIDOMElement * *aBody); \
  68.   NS_IMETHOD GetEditable(PRBool *aEditable); \
  69.   NS_IMETHOD SetEditable(PRBool aEditable); \
  70.   NS_IMETHOD GetInputField(nsIDOMXULTextBoxElement * *aInputField); 
  71.  
  72. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  73. #define NS_FORWARD_NSIDOMXULTREEELEMENT(_to) \
  74.   NS_IMETHOD GetColumns(nsITreeColumns * *aColumns) { return _to GetColumns(aColumns); } \
  75.   NS_IMETHOD GetView(nsITreeView * *aView) { return _to GetView(aView); } \
  76.   NS_IMETHOD SetView(nsITreeView * aView) { return _to SetView(aView); } \
  77.   NS_IMETHOD GetBody(nsIDOMElement * *aBody) { return _to GetBody(aBody); } \
  78.   NS_IMETHOD GetEditable(PRBool *aEditable) { return _to GetEditable(aEditable); } \
  79.   NS_IMETHOD SetEditable(PRBool aEditable) { return _to SetEditable(aEditable); } \
  80.   NS_IMETHOD GetInputField(nsIDOMXULTextBoxElement * *aInputField) { return _to GetInputField(aInputField); } 
  81.  
  82. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  83. #define NS_FORWARD_SAFE_NSIDOMXULTREEELEMENT(_to) \
  84.   NS_IMETHOD GetColumns(nsITreeColumns * *aColumns) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumns(aColumns); } \
  85.   NS_IMETHOD GetView(nsITreeView * *aView) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetView(aView); } \
  86.   NS_IMETHOD SetView(nsITreeView * aView) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetView(aView); } \
  87.   NS_IMETHOD GetBody(nsIDOMElement * *aBody) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBody(aBody); } \
  88.   NS_IMETHOD GetEditable(PRBool *aEditable) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEditable(aEditable); } \
  89.   NS_IMETHOD SetEditable(PRBool aEditable) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEditable(aEditable); } \
  90.   NS_IMETHOD GetInputField(nsIDOMXULTextBoxElement * *aInputField) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInputField(aInputField); } 
  91.  
  92. #if 0
  93. /* Use the code below as a template for the implementation class for this interface. */
  94.  
  95. /* Header file */
  96. class nsDOMXULTreeElement : public nsIDOMXULTreeElement
  97. {
  98. public:
  99.   NS_DECL_ISUPPORTS
  100.   NS_DECL_NSIDOMXULTREEELEMENT
  101.  
  102.   nsDOMXULTreeElement();
  103.  
  104. private:
  105.   ~nsDOMXULTreeElement();
  106.  
  107. protected:
  108.   /* additional members */
  109. };
  110.  
  111. /* Implementation file */
  112. NS_IMPL_ISUPPORTS1(nsDOMXULTreeElement, nsIDOMXULTreeElement)
  113.  
  114. nsDOMXULTreeElement::nsDOMXULTreeElement()
  115. {
  116.   /* member initializers and constructor code */
  117. }
  118.  
  119. nsDOMXULTreeElement::~nsDOMXULTreeElement()
  120. {
  121.   /* destructor code */
  122. }
  123.  
  124. /* readonly attribute nsITreeColumns columns; */
  125. NS_IMETHODIMP nsDOMXULTreeElement::GetColumns(nsITreeColumns * *aColumns)
  126. {
  127.     return NS_ERROR_NOT_IMPLEMENTED;
  128. }
  129.  
  130. /* attribute nsITreeView view; */
  131. NS_IMETHODIMP nsDOMXULTreeElement::GetView(nsITreeView * *aView)
  132. {
  133.     return NS_ERROR_NOT_IMPLEMENTED;
  134. }
  135. NS_IMETHODIMP nsDOMXULTreeElement::SetView(nsITreeView * aView)
  136. {
  137.     return NS_ERROR_NOT_IMPLEMENTED;
  138. }
  139.  
  140. /* readonly attribute nsIDOMElement body; */
  141. NS_IMETHODIMP nsDOMXULTreeElement::GetBody(nsIDOMElement * *aBody)
  142. {
  143.     return NS_ERROR_NOT_IMPLEMENTED;
  144. }
  145.  
  146. /* attribute boolean editable; */
  147. NS_IMETHODIMP nsDOMXULTreeElement::GetEditable(PRBool *aEditable)
  148. {
  149.     return NS_ERROR_NOT_IMPLEMENTED;
  150. }
  151. NS_IMETHODIMP nsDOMXULTreeElement::SetEditable(PRBool aEditable)
  152. {
  153.     return NS_ERROR_NOT_IMPLEMENTED;
  154. }
  155.  
  156. /* readonly attribute nsIDOMXULTextBoxElement inputField; */
  157. NS_IMETHODIMP nsDOMXULTreeElement::GetInputField(nsIDOMXULTextBoxElement * *aInputField)
  158. {
  159.     return NS_ERROR_NOT_IMPLEMENTED;
  160. }
  161.  
  162. /* End of implementation class template. */
  163. #endif
  164.  
  165.  
  166. #endif /* __gen_nsIDOMXULTreeElement_h__ */
  167.